package com.hfi.mapper;

import com.hfi.model.DepartmentMBG;
import com.hfi.model.DepartmentMBGExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DepartmentMBGMapper {
    int countByExample(DepartmentMBGExample example);

    int deleteByExample(DepartmentMBGExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DepartmentMBG record);

    int insertSelective(DepartmentMBG record);

    List<DepartmentMBG> selectByExample(DepartmentMBGExample example);

    DepartmentMBG selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DepartmentMBG record, @Param("example") DepartmentMBGExample example);

    int updateByExample(@Param("record") DepartmentMBG record, @Param("example") DepartmentMBGExample example);

    int updateByPrimaryKeySelective(DepartmentMBG record);

    int updateByPrimaryKey(DepartmentMBG record);
}